package com.jeecms.wicool.dao.material;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.material.WeixinMaterial;
/**
 * 微信素材DAO接口
 */
public interface WeixinMaterialDao{
	public Pagination getPage(Integer shopId,Short messageType ,int pageNo, int pageSize,CmsUser user);
	public WeixinMaterial findById(Integer id);
	public WeixinMaterial updateByUpdater(Updater<WeixinMaterial> updater);
	public WeixinMaterial save(WeixinMaterial bean);
	public WeixinMaterial deleteById(Integer id);
	public List<WeixinMaterial> getListWeixinMaterialByShopId(Integer shopId);
}